package com.api.tournament.model;

import java.io.Serializable;
import java.math.BigDecimal;
import javax.persistence.*;

@Table(name = "tournament_team_user")
public class TournamentTeamUser implements Serializable {
    @Id
    @Column(name = "tournament_team_id")
    private Long tournamentTeamId;

    @Column(name = "user_id")
    private Long userId;

    /**
     * 报名费
     */
    @Column(name = "registery_fee")
    private BigDecimal registeryFee;

    /**
     * 手续费
     */
    @Column(name = "handling_fee")
    private BigDecimal handlingFee;

    private static final long serialVersionUID = 1L;

    /**
     * @return tournament_team_id
     */
    public Long getTournamentTeamId() {
        return tournamentTeamId;
    }

    /**
     * @param tournamentTeamId
     */
    public void setTournamentTeamId(Long tournamentTeamId) {
        this.tournamentTeamId = tournamentTeamId;
    }

    /**
     * @return user_id
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取报名费
     *
     * @return registery_fee - 报名费
     */
    public BigDecimal getRegisteryFee() {
        return registeryFee;
    }

    /**
     * 设置报名费
     *
     * @param registeryFee 报名费
     */
    public void setRegisteryFee(BigDecimal registeryFee) {
        this.registeryFee = registeryFee;
    }

    /**
     * 获取手续费
     *
     * @return handling_fee - 手续费
     */
    public BigDecimal getHandlingFee() {
        return handlingFee;
    }

    /**
     * 设置手续费
     *
     * @param handlingFee 手续费
     */
    public void setHandlingFee(BigDecimal handlingFee) {
        this.handlingFee = handlingFee;
    }
}